﻿<%@ Page Title="" Language="C#" MasterPageFile="~/master/employee.master" AutoEventWireup="true"
    CodeBehind="profile_changepwd.aspx.cs" Inherits="RailwayReservationWeb.employee.profile_changepwd" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="PathContent" runat="server">
    <ol class="breadcrumb">
        <li><a href="default.aspx">Home</a></li>
        <li><a href="#">Profile</a></li>
        <li class="active"><a href="profile_changepwd.aspx">Change Password</a></li>
    </ol>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <div class="page-header">
        <h1>
            Change Password
        </h1>
    </div>
    <p id="pMessage" runat="server" class="alert alert-danger">
    </p>
    <asp:ValidationSummary ID="ValidationSummary1" runat="server" CssClass="alert alert-danger"
        DisplayMode="List" />
    <div class="form-horizontal">
        <div class="form-group">
            <div class="col-md-3">
                <asp:Label ID="Label1" runat="server" Text="Old Password" AssociatedControlID="txtOldPass"
                    CssClass="control-label"></asp:Label>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Please input Old Password"
                    ForeColor="Red" ControlToValidate="txtOldPass">∗</asp:RequiredFieldValidator>
            </div>
            <div class="col-md-9">
                <asp:TextBox ID="txtOldPass" runat="server" TextMode="Password" CssClass="form-control"></asp:TextBox>
            </div>
        </div>
        <div class="form-group">
            <div class="col-md-3">
                <asp:Label ID="Label2" runat="server" Text="New Password" AssociatedControlID="txtNewPass"
                    CssClass="control-label"></asp:Label>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="Please input New Password"
                    ForeColor="Red" ControlToValidate="txtNewPass">∗</asp:RequiredFieldValidator>
            </div>
            <div class="col-md-9">
                <asp:TextBox ID="txtNewPass" runat="server" TextMode="Password" CssClass="form-control"></asp:TextBox>
            </div>
        </div>
        <div class="form-group">
            <div class="col-md-3">
                <asp:Label ID="Label3" runat="server" Text="Confirm Password" AssociatedControlID="txtConfPass"
                    CssClass="control-label"></asp:Label>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="Please confirm New Password"
                    ForeColor="Red" ControlToValidate="txtConfPass">∗</asp:RequiredFieldValidator>
                <asp:CompareValidator ID="CompareValidator1" runat="server" ErrorMessage="Passwords must be the same"
                    ForeColor="White" ControlToCompare="txtNewPass" ControlToValidate="txtConfPass">&lt;</asp:CompareValidator>
            </div>
            <div class="col-md-9">
                <asp:TextBox ID="txtConfPass" runat="server" TextMode="Password" CssClass="form-control"></asp:TextBox>
            </div>
        </div>
        <div class="form-group">
            <div class="col-md-offset-3 col-md-9">
                <asp:Button ID="btnSubmit" runat="server" Text="Save Changes" OnClick="btnSubmit_Click"
                    CssClass="btn btn-primary" />
                &nbsp;<asp:Button ID="Button1" runat="server" Text="Cancel" CausesValidation="False"
                    PostBackUrl="~/employee/profile_update.aspx" CssClass="btn btn-default" />
            </div>
        </div>
    </div>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="SideContent" runat="server">
    <div class="panel panel-primary panel-navi">
        <!-- Default panel contents -->
        <div class="panel-heading">
            Personal Information</div>
        <!-- List group -->
        <ul class="list-group">
            <li class="list-group-item"><a href="profile_update.aspx">Update Profile</a></li>
            <li class="list-group-item"><a href="profile_changepwd.aspx">Change Password</a></li>
        </ul>
    </div>
</asp:Content>
